home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl2 / labs / Makefile < prev    next >
Encoding:
Makefile  |  1996-11-11  |  1.2 KB  |  48 lines

  1. #!smake
  2. #
  3. # Copyright 1993, Silicon Graphics, Inc.
  4. #  All Rights Reserved.
  5. #
  6. # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  7. # the contents of this file may not be disclosed to third parties, copied or
  8. # duplicated in any form, in whole or in part, without the prior written
  9. # permission of Silicon Graphics, Inc.
  10. #
  11. # RESTRICTED RIGHTS LEGEND:
  12. # Use, duplication or disclosure by the Government is subject to restrictions
  13. # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  14. # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  15. # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  16. # rights reserved under the Copyright Laws of the United States.
  17. #
  18. #
  19. # Makefile for opengl 2 class labs subdirectory
  20. #
  21. #    "$Revision: 1.4 $"
  22.  
  23. include    $(ROOT)/usr/include/make/commondefs
  24.  
  25. SHELL=/bin/sh
  26.  
  27. SUBDIRS= \
  28.     feedback \
  29.     fly \
  30.     ${NULL}
  31.  
  32. .PRECIOUS: $(SUBDIRS)
  33.  
  34. COMMONPREF=ogl2src
  35.  
  36. default install $(COMMONTARGS): 
  37.     @for d in $(SUBDIRS); do \
  38.         if [ -d $$d ] ; then  \
  39.             echo "====\tcd $$d; $(MAKE) $@"; \
  40.             ( cd $$d; $(MAKE) $@; ) ; \
  41.         fi ; \
  42.     done
  43.  
  44. $(SUBDIRS): $(_FORCE)
  45.     cd $@; $(MAKE)
  46.  
  47. include $(COMMONRULES)
  48.